package com.wxl.demo.service.impl;

import com.wxl.demo.mapper.UserInfoMapper;
import com.wxl.demo.model.UserInfo;
import com.wxl.demo.service.UserInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserInfoServiceImpl implements UserInfoService {

	@Resource
	private UserInfoMapper userInfoMapper;

	public UserInfo getUserByName(String username){
		return userInfoMapper.getUserByName(username);
	}
}
